@echo off

if exist wsserver\server.exe del wsserver\server.exe
if exist wsserver\server del wsserver\server

del /q wsserver\pb\*
xcopy %CD%\..\..\data\golang\* wsserver\pb\ /y

cd wsserver\
go build server

server.exe

pause
